home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20041116-20060924 / 000165_fdc@columbia.edu_Sat Oct 15 11:54:49 2005.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!not-for-mail
  2. From: Frank da Cruz <fdc@columbia.edu>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: ftp mput /recursive problem....
  5. Date: 15 Oct 2005 15:54:40 GMT
  6. Organization: Columbia University
  7. Lines: 62
  8. Message-ID: <slrndl29i0.ldi.fdc@sesame.cc.columbia.edu>
  9. References: <dip2gm$ci$1$8300dec7@news.demon.co.uk>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: sesame.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1129391680 24072 128.59.59.56 (15 Oct 2005 15:54:40 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 15 Oct 2005 15:54:40 GMT
  15. User-Agent: slrn/0.9.8.0 (SunOS)
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15408
  17.  
  18. On 2005-10-14, John Hackett <john.hackett@icon-is.co.uk> wrote:
  19. : I am quite new to kermit so I hope this is not a stupid questions but 
  20. : I've spend hours trying to get this to work....
  21. :
  22. : I am trying to set up an automated backup from a Fedora3 server to a 
  23. : 500Gb LaCie drive over ethernet. There are about 30k files to transfer. 
  24. :   I know both the server and the Lacie are OK as I have done the 
  25. : complete  transfer with gFTP and all was OK.
  26. :
  27. Which version of Kermit are you using?  The 8.0 series has gone through
  28. several releases, each of which added some features or fixed bugs in the
  29. ftp client.  If you try the current development build:
  30.  
  31.   http://www.columbia.edu/kermit/ckdaily.html
  32.  
  33. do you get the same result?
  34.  
  35. : I had some problems initially which I solved as follows:
  36. :
  37. : set file stringspace 10000000
  38. : set file listsize 100000
  39. : set ftp filenames literal
  40. : set term idle-timeout 100
  41. : set term idle-action output \32
  42. :
  43. The "set term" commands have nothing to do with ftp connections.
  44.  
  45. : With kermit I have a script which connects up; goes to the correct 
  46. : directories on each side and can transfers the files. However, when I go 
  47. : to the drive one of two things happens.
  48. :
  49. : (1) If I try "ftp mput /recursive /update * " the files appear to 
  50. : transfer. If I repeat it only the changed ones seem to be done again. 
  51. : But on the LaCie the files are invisible - I can't find them anywhere!
  52. :
  53. : (2) So I tried this instead:
  54. :
  55. : ftp mput /recursive /update /listfile:\m(filelist) - this tranfers all 
  56. : the files (I used find to generate a list of all the files (exc. 
  57. : directories). Now I thik all there files are there and visible but they 
  58. : ar enot in the correct directories! It looks as if kermit is descending 
  59. : but not ascending before creating a new directory.
  60. :
  61. There are some different variables to consider.
  62.  
  63. First, the large number of files.  Do the same things happen if you set up
  64. a similar scenario but with a much smaller number of files?
  65.  
  66. Second, the recursion.  It takes two to tango.  How do we know the server
  67. is obeying all of Kermit's directives, or even supports them?  From your
  68. description it sounds like it's possible that Kermit's CDUP command is not
  69. having any effect.  Try it by hand, CD to some directory on this connection,
  70. and then see if CDUP brings you back up.
  71.  
  72. Third, the update.  This part seems to be working but you never know.  Do you
  73. see the same problems if you omit the /UPDATE switch?
  74.  
  75. Set up a test cases with a similar structure but a small number of files
  76. and then, using "set ftp debug on" to follow what occurs between Kermit and
  77. the server, see if you can home in on the problem.
  78.  
  79. - Frank